<template>
    <div class="boxPlan">

        <!-- 标题头部 -->
        <div class="boxHead">

            <div class="head">
                <div class="head-left">
                </div>

                <div class="header-center fl">

                    <div class="header-title">
                        金鹏建设集团智慧工地管理平台
                    </div>
                    <div class="header-img"></div>
                </div>

                <div class="head-right">
                </div>
            </div>

            <div class="header-bottom fl">
                <img :src=header alt="">
            </div>
        </div>

        <!-- 指标中部 -->
        <!-- <div class="boxMid">

            <div class="boxMid-item" v-for="(item,index) in indexs" :key="index">

                <div class="boxMid-top">
                    {{item.index}}
                </div>

                <div class="boxMid-bot">
                    {{item.num}}
                </div>
            </div>
        </div> -->

        <!-- charts底部 -->
        <div class="boxBot">
            <div class="bot-left">
                <Index></Index>
            </div>
        </div>

    </div>
</template>

<script>
import Index from '@/pages/index/index.vue';
export default {
    components: { Index },
    data() {
        return {
            header: require('@/assets/img/header.png'),
            indexs: [
                {
                    index: '年度计划产值',
                    num: '8888万'
                },
                {
                    index: '年度计划利润',
                    num: '8888万'
                },
                {
                    index: '年度实际产值',
                    num: '8888万'
                },
                {
                    index: '年度实际利润',
                    num: '8888万'
                },
                {
                    index: '同比增长率',
                    num: '60%'
                },
            ]
        }
    },
    methods: {
        goIndex() {
            this.$router.push('index')
        }
    }
}

</script>

<style scoped>
html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #010817;
    color: #ffffff;
}

.boxPlan {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #010817;
}

/* 标题头部 */
.boxHead {
    width: 100%;
    height: 80px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
    /* background-color: rgb(233, 247, 201); */
}
.head {
    display: flex;
}
.head-left {
    width: 25%;
    height: 60px;
    color: white;
    text-align: center;
    line-height: 1.05rem;
}
.head-right {
    width: 25%;
    height: 60px;
}
.header-center {
    width: 50%;
    height: 70px;
    position: relative;
}

.fl {
    float: left;
}

.header-title {
    text-align: center;
    color: #ffffff;
    font-size: 30px;
    text-shadow: 0 0 3 #00d8ff;
    line-height: 60px;
}
.header-img {
    background: url(/img/head.1c983a8a.gif) no-repeat center center;
    background-size: 100%;
    height: 100%;
    width: 100%;
    top: 35px;
    position: absolute;
}
.header-bottom {
    margin-top: 10px;
    width: 100%;
    height: 15px;
}

/* 指标中部 */
.boxMid {
    margin: 30px 200px 20px 200px;
    height: 60px;
    display: flex;
    align-items: center;
    /* background-color: rgb(236, 160, 160); */
    justify-content: space-around;
    /* width: 100%; */
}
.boxMid-item {
    border: 1px solid #258add;
    background-color: rgb(13, 25, 45);
    color: #fff;
    width: 120px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
}
.boxMid-top {
    height: 35px;
    background-color: #fff;
    background: url()
        0 100% no-repeat;
    background-size: contain;
}
.boxMid-bot {
    color: #00fbfe;
    text-shadow: 0 0 25px #00fbfe;
    font-size: 22px;
    font-weight: bolder;
    font-family: "yjsz";
}

.boxBot {
    /* margin-top: 50px; */
    margin: 40px 0 10px 0;
    background-color: rgb(141, 245, 248);
    height: calc(100vh - 140px);
    display: flex;
}
.bot-left {
    /* background-color: rgb(239, 241, 213); */
    /* width: calc(100% / 2); */
    width: 100%;
    height: 100%;
}
.bot-mid {
    background-color: rgb(235, 209, 176);
    width: calc(100% / 2);
    height: 100%;
}
.iframe {
    width: 100%;
    height: 100%;
}
.gss-bi {
    height: 1080px;
    width: 1920px;
    transform-origin: center top 0px;
    transform: scale(0.939);
    margin-left: 2000px !important;
}
</style>
